/**
 * @file MBListener.hpp
 */
#ifndef __MBLISTENER_HPP__
#define __MBLISTENER_HPP__

#include <qobject.h>

class MBListener : public QObject {
	Q_OBJECT
	protected:
		int	_buttonNumber;

	public:
		MBListener(int buttonNumber);
		virtual ~MBListener();

	public:
		virtual int buttonNumber();

	public slots:
		virtual void run();

	signals:
		virtual void pressed(int buttonNumber);
};

#endif /* __MBLISTENER_HPP__ */
